package com.hs.shirodemo2.service;

import com.hs.shirodemo2.entity.SysUser;
import com.hs.shirodemo2.entity.UserInfo;
import com.hs.shirodemo2.utils.BaseService;

public interface SysUserService extends BaseService<SysUser> {
    /*
    * 根据用户名查询用户信息
    * */
    SysUser findByUsername(String username);

    /*
    * 用户登录的业务逻辑
    * */
    UserInfo login(String username, String userpwd);
}